/**
 * Student
 *
 * @author 徐长乐
 * @date 2019/10/23
 */
public class Student {
    private  String name;
    private  int score;

    public Student(String name, int score) {
        this.name = name;
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", score=" + score +
                '}';
    }

    public static void main(String[] args) {
        Array<Student> arr= new Array<>();
        arr.addLast(new Student("xcl",100));
        arr.addLast(new Student("xcl",100));
        arr.addLast(new Student("xcl",100));
        System.out.println(arr);
    }
}
